﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LRS.DTO;
using LRS.DAL;

namespace LRS.BLL
{
    public static class bProduct
    {
        public static eProduct GetProductByID(int ProductID)
        {
            return dProduct.GetProductByID(ProductID);
        }
        public static List<eProduct> GetProducts()
        {
            return dProduct.GetProducts();
        }
        public static List<eProduct> GetProductsByKeyword(string keyword)
        {
            return dProduct.GetProductsByKeyword(keyword);
        }
        public static void Update(eProduct product)
        {
            dProduct.UpdateProduct(product);
        }
        public static void Insert(eProduct product)
        {
            dProduct.InsertProduct(product);
        }
        public static void DeleteProductByID(int ProductID)
        {
            dProduct.DeleteProductByID(ProductID);
        }
    }
}
